package com.example.springboot.modules.system.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping
public class IndexController {

    @RequestMapping(value="/toIndex")
    public String toIndex(){
        return "index";
    }

    @RequestMapping("/welcome")
    public String welcome(){
        return "welcome";
    }

    @RequestMapping("/user/show")
    public String userShow(){
        return "system/user/list";
    }

    @RequestMapping("/role/show")
    public String roleShow(){
        return "system/role/list";
    }

    @RequestMapping("/menu/show")
    public String menuShow(){
        return "system/menu/list";
    }

    @RequestMapping("/dept/show")
    public String deptShow(){
        return "system/dept/list";
    }

    @RequestMapping("/user/form")
    public String userForm(){
        return "system/user/form";
    }

}